#include "CSprite.h"

using namespace DarkStorm2D;
using namespace GraphicsCore;

CSprite::CSprite()
{
	m_Type = RES_TYPE_SPRITE;
	m_CurrentAnimationName = " ";
}

CSprite::~CSprite()
{

}

bool CSprite::Create(const std::string & CurrentAnimationName,AnimationManagerPtr & Animations)
{
	m_Animations = Animations;
	SetAnimation(CurrentAnimationName);
	return true;
}


CError& CSprite::LoadFromFile(const std::string & Filename)
{
	return CError();
}